import req from '@/utils/request';

//后台管理员列表
export const adminList = (params) => req.post('/admin/list', params);

//编辑后台管理员
export const adminEdit = (params) => req.post('/admin/edit', params);

//添加后台管理员
export const adminAdd = (params) => req.post('/admin/add', params);

//管理员状态操作
export const adminOp = (params) => req.post('/admin/op', params);

//管理员修改密码
export const adminChangePwd = (params) => req.post('/admin/changePwd', params);




//角色列表
export const roleList = (params) => req.post('/role/list', params);

//新增角色
export const roleAdd = (params) => req.post('/role/add', params);

//角色详情
export const roleInof = (params) => req.post('/role/info', params);

//角色编辑
export const roleEdit = (params) => req.post('/role/edit', params);

//角色删除
export const roleDel = (params) => req.post('/role/del', params);




//充值订单列表
export const orderDeposList = (params) => req.post('/order/deposList', params);

//提现订单列表
export const orderWithdrawList = (params) => req.post('/order/withdrawList', params);

//产品应用列表
export const appList = (params) => req.post('/app/list', params);

//产品应用新增
export const appAdd = (params) => req.post('/app/add', params);



//退款订单列表
export const orderRefundList = (params) => req.post('/order/refundList', params);

//退款订单记录详情
export const orderRefundInfo = (params) => req.post('/order/refundinfo', params);



//应用绑定渠道列表
export const appChannelList = (params) => req.post('/appChannel/list', params);

//应用绑定渠道新增
export const appChannelAdd = (params) => req.post('/appChannel/add', params);

//应用绑定记录详情
export const appChannelInfo = (params) => req.post('/appChannel/info', params);

//应用绑定渠道记录修改
export const appChannelEdit = (params) => req.post('/appChannel/edit', params);


//支付渠道列表
export const channelList = (params) => req.post('/channel/list', params);

//支付渠道状态操作
export const channelOp = (params) => req.post('/channel/op', params);

//支付渠道添加
export const channelAdd = (params) => req.post('/channel/add', params);

//支付渠道编辑
export const channelEdit = (params) => req.post('/channel/edit', params);
